Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sucs-site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
sucssite
sucs-site
Commits
ec35142e
Commit
ec35142e
authored
12 years ago
by
Callum Massey
Browse files
Options
Downloads
Patches
Plain Diff
Actual final one this time.
parent
ac5736fc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/susignup.php
+6
-2
6 additions, 2 deletions
components/susignup.php
templates/susignup.tpl
+12
-12
12 additions, 12 deletions
templates/susignup.tpl
with
18 additions
and
14 deletions
components/susignup.php
+
6
−
2
View file @
ec35142e
...
...
@@ -90,8 +90,12 @@ if(!empty($_REQUEST['sid'])&&!empty($_REQUEST['transactionID'])){
$attribs
[]
=
$sid
;
$data
=
$sucsDB
->
Execute
(
$query
,
$attribs
);
if
(
!
$data
)
{
//handle db err
print
(
$sucsDB
->
ErrorMsg
());
mail
(
$error_email
,
"SUSignup Error"
,
"An error occured in the susignup system at stage 0
\n
Love the signup system.
\n\n
P.S. The Error is:
\n
"
.
$sucsDB
->
ErrorMsg
(),
"From:
\"
SUCS Admin
\"
<admin@sucs.org>"
);
$valid
=
false
;
}
else
if
(
$data
->
RecordCount
()
==
0
)
{
$smarty
->
assign
(
"username"
,
$data
->
fields
[
'username'
]);
...
...
This diff is collapsed.
Click to expand it.
templates/susignup.tpl
+
12
−
12
View file @
ec35142e
...
...
@@ -24,19 +24,19 @@
</div>
</form>
{
elseif
$mode
==
'form'
||
$mode
==
"re-form"
}
<h1>
Signup
</h1>
<p>
To continue signup later please use the link below to dispay and print off your signup slip
</p>
<h1>
Signup
</h1>
<p>
To continue signup later please use the link below to dispay and print off your signup slip
</p>
<form
action=
"https://sucs.org/~kais58/sucstest/sucs/generate.php"
method=
"post"
target=
"_blank"
>
<input
type=
hidden
name=
"id"
id=
"id"
value=
"
{
$id
}
"
/>
<input
type=
hidden
name=
"pass"
id=
"pass"
value=
"
{
$pass
}
"
/>
<input
type=
submit
name=
"submit"
value=
"Proceed"
/>
</form>
<p>
To finish signup now click below to continue
</p>
<form
action=
"https://sucs.org/signup/"
method=
"post"
>
<input
type=
hidden
name=
"signupid"
id=
"id"
value=
"
{
$id
}
"
/>
<input
type=
hidden
name=
"signuppw"
id=
"pass"
value=
"
{
$pass
}
"
/>
<input
type=
submit
name=
"submit"
value=
"Proceed"
/>
</form>
<input
type=
hidden
name=
"id"
id=
"id"
value=
"
{
$id
}
"
/>
<input
type=
hidden
name=
"pass"
id=
"pass"
value=
"
{
$pass
}
"
/>
<input
type=
submit
name=
"submit"
value=
"Proceed"
/>
</form>
<p>
To finish signup now click below to continue
</p>
<form
action=
"https://sucs.org/signup/"
method=
"post"
>
<input
type=
hidden
name=
"signupid"
id=
"id"
value=
"
{
$id
}
"
/>
<input
type=
hidden
name=
"signuppw"
id=
"pass"
value=
"
{
$pass
}
"
/>
<input
type=
submit
name=
"submit"
value=
"Proceed"
/>
</form>
{
elseif
$mode
==
'numpty'
}
<p>
You appear to have completed this part of signup before, please check your emails for your signup ID and password. Alternatively click below to continue.
</p>
<form
action=
"https://sucs.org/signup/"
method=
"post"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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