<
From version < 1.41 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.20 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,11 +10,6 @@
10 10  
11 11   String strContactID = ""
12 12   String strCompanyName = ""
13 - String strCompanyAddress = ""
14 - String strCompanyCity = ""
15 - String strCompanyPostcode = ""
16 - String strCompanyProvince = ""
17 - String strCompanyCountry = ""
18 18   String strTitle = ""
19 19   String strFirstname = ""
20 20   String strLastname = ""
... ... @@ -43,11 +43,7 @@
43 43   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
44 44  
45 45   strCompanyName = services.cleanStr.alphanum(request.companyname)
46 - strCompanyAddress = services.cleanStr.alphanum(request.companyaddress)
47 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
48 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
49 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
50 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
51 51   strTitle = services.cleanStr.alphanum(request.title)
52 52   strFirstname = services.cleanStr.alphanum(request.firstname)
53 53   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -56,6 +56,7 @@
56 56   strLphone = services.cleanStr.numphone(request.lphone)
57 57   strMphone = services.cleanStr.numphone(request.mphone)
58 58   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
59 59   strEmail2 = services.cleanStr.alphanum(request.email2)
60 60   strCreateTime = java.time.ZonedDateTime.now()
61 61   strCreateIP = request.remoteAddr
... ... @@ -67,11 +67,6 @@
67 67   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
68 68   """(
69 69   companyname,
70 - companyaddress,
71 - companycity,
72 - companypostcode,
73 - companyprovince,
74 - companycountry,
75 75   title,
76 76   firstname,
77 77   lastname,
... ... @@ -87,11 +87,6 @@
87 87   confemailsentcode)
88 88   VALUES(
89 89   '$strCompanyName',
90 - '$strCompanyAddress',
91 - '$strCompanyCity',
92 - '$strCompanyPostcode',
93 - '$strCompanyProvince',
94 - '$strCompanyCountry',
95 95   '$strTitle',
96 96   '$strFirstname',
97 97   '$strLastname',
... ... @@ -113,11 +113,6 @@
113 113   """
114 114   SET
115 115   companyname = '$strCompanyName',
116 - companyaddress = '$strCompanyAddress',
117 - companycity = '$strCompanyCity',
118 - companypostcode = '$strCompanyPostcode',
119 - companyprovince = '$strCompanyProvince',
120 - companycountry = '$strCompanyCountry',
121 121   title = '$strTitle',
122 122   firstname = '$strFirstname',
123 123   lastname = '$strLastname',
... ... @@ -139,9 +139,9 @@
139 139   }
140 140   strEmailBody = "Dear " + strPrefname + ","
141 141   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "A request was made to register you to the CEC website (https://cecocert.com) with the following information:" + "\r\n" + "\r\n"
142 - strEmailBody = strEmailBody + "Registered name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
143 - strEmailBody = strEmailBody + "Registered Business: " + strCompanyName + ", " + strCompanyAddress + ", " + strCompanyCity + ", " + strCompanyPostcode + ", " + strCompanyProvince + ", " + strCompanyCountry + "\r\n"
144 - strEmailBody = strEmailBody + "Contact info: " + strTitle + " " + strFirstname + " " + strLastname + ", " + strRole + "\r\n"
119 + strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
121 + strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
145 145   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
146 146   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
147 147   strEmailBody = strEmailBody + "The request was made from IP address: " + strCreateIP
... ... @@ -154,11 +154,6 @@
154 154   xcontext.put("strEmailBody",strEmailBody)
155 155  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
156 156   xcontext.put("strCompanyName",strCompanyName)
157 - xcontext.put("strCompanyAddress",strCompanyAddress)
158 - xcontext.put("strCompanyCity",strCompanyCity)
159 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
160 - xcontext.put("strCompanyProvince",strCompanyProvince)
161 - xcontext.put("strCompanyCountry",strCompanyCountry)
162 162   xcontext.put("strTitle",strTitle)
163 163   xcontext.put("strFirstname",strFirstname)
164 164   xcontext.put("strLastname",strLastname)
... ... @@ -173,11 +173,6 @@
173 173   }
174 174   if (strEditCommand == "Proceed"){
175 175   xcontext.put("strCompanyName",strCompanyName)
176 - xcontext.put("strCompanyAddress",strCompanyAddress)
177 - xcontext.put("strCompanyCity",strCompanyCity)
178 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
179 - xcontext.put("strCompanyProvince",strCompanyProvince)
180 - xcontext.put("strCompanyCountry",strCompanyCountry)
181 181   xcontext.put("strTitle",strTitle)
182 182   xcontext.put("strFirstname",strFirstname)
183 183   xcontext.put("strLastname",strLastname)
... ... @@ -192,11 +192,6 @@
192 192   }
193 193   if (strEditCommand == "Correct"){
194 194   xcontext.put("strCompanyName",strCompanyName)
195 - xcontext.put("strCompanyAddress",strCompanyAddress)
196 - xcontext.put("strCompanyCity",strCompanyCity)
197 - xcontext.put("strCompanyPostcode",strCompanyPostcode)
198 - xcontext.put("strCompanyProvince",strCompanyProvince)
199 - xcontext.put("strCompanyCountry",strCompanyCountry)
200 200   xcontext.put("strTitle",strTitle)
201 201   xcontext.put("strFirstname",strFirstname)
202 202   xcontext.put("strLastname",strLastname)
... ... @@ -365,39 +365,9 @@
365 365   #if( $xcontext.strFormStatus == "DataCorrection" )
366 366   {{html wiki=false clean=false}}
367 367   <form action="" class="xformInline" method="post" name="User Registration Form">
368 -<head>
369 -<style>
370 -#cecTable {
371 - font-family: Arial, Helvetica, sans-serif;
372 - border-collapse: collapse;
373 - border-color: #007d84
374 - width: 100%;
375 -}
376 -
377 -#cecTable td, #cecTable th {
378 - border: 1px solid #007d84;
379 - padding: 8px;
380 -}
381 -
382 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
383 -
384 -#cecTable tr:hover {background-color: #ddd;}
385 -
386 -#cecTable th {
387 - padding-top: 12px;
388 - padding-bottom: 12px;
389 - text-align: left;
390 - background-color: #007d84;
391 - color: white;
392 -}
393 -</style>
394 -</head>
395 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
330 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
396 396   <col style="width:30%">
397 397   <col style="width:70%">
398 - <th colspan = "2">
399 - <b>Company Information</b>
400 - </th>
401 401   <tr>
402 402   <td align="left" class="style1">Company name:</td>
403 403   <td class="style1">
... ... @@ -406,44 +406,6 @@
406 406   </td>
407 407   </tr>
408 408   <tr>
409 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
410 - <td class="style1">
411 - <input type="text" id="companyaddress" name="companyaddress" placeholder="Enter the House Number, Street, Floor, etc part of your company's registered business address" value="${xcontext.strCompanyAddress}" size="100">
412 - </select>
413 - </td>
414 - </tr>
415 - <tr>
416 - <td align="left" class="style1">Registered Business Address - City:</td>
417 - <td class="style1">
418 - <input type="text" id="companycity" name="companycity" placeholder="Enter the City part of your company's registered business address" value="${xcontext.strCompanyCity}" size="100">
419 - </select>
420 - </td>
421 - </tr>
422 - <tr>
423 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
424 - <td class="style1">
425 - <input type="text" id="companypostcode" name="companypostcode" placeholder="Enter the Postal Code part of your company's registered business address" value="${xcontext.strCompanyPostcode}" size="100">
426 - </select>
427 - </td>
428 - </tr>
429 - <tr>
430 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
431 - <td class="style1">
432 - <input type="text" id="companyprovince" name="companyprovince" placeholder="Enter the Province or State part of your company's registered business address, leave empty if n/a" value="${xcontext.strCompanyProvince}" size="100">
433 - </select>
434 - </td>
435 - </tr>
436 - <tr>
437 - <td align="left" class="style1">Registered Business Address - Country:</td>
438 - <td class="style1">
439 - <input type="text" id="companycountry" name="companycountry" placeholder="Enter the Country part of your company's registered business address" value="${xcontext.strCompanyCountry}" size="50">
440 - </select>
441 - </td>
442 - </tr>
443 - <th colspan = "2">
444 - <b>Your Contact Information</b>
445 - </th>
446 - <tr>
447 447   <td align="left" class="style1">Title:</td>
448 448   <td class="style1">
449 449   <input type="text" id="title" name="title" placeholder="Enter your title" value="${xcontext.strTitle}" size="20">
... ... @@ -506,39 +506,9 @@
506 506  You have entered the following information to register to the CEC Scheme:
507 507   {{html wiki=false clean=false}}
508 508   <form action="" class="xformInline" method="post" name="User Registration Form">
509 -<head>
510 -<style>
511 -#cecTable {
512 - font-family: Arial, Helvetica, sans-serif;
513 - border-collapse: collapse;
514 - border-color: #007d84
515 - width: 100%;
516 -}
517 -
518 -#cecTable td, #cecTable th {
519 - border: 1px solid #007d84;
520 - padding: 8px;
521 -}
522 -
523 -#cecTable tr:nth-child(even){background-color: #d0d3d4;}
524 -
525 -#cecTable tr:hover {background-color: #ddd;}
526 -
527 -#cecTable th {
528 - padding-top: 12px;
529 - padding-bottom: 12px;
530 - text-align: left;
531 - background-color: #007d84;
532 - color: white;
533 -}
534 -</style>
535 -</head>
536 - <table id="cecTable"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
403 + <table id="table1"; cellspacing="5px" cellpadding="5%" border="1" width="100%"; align="left">
537 537   <col style="width:30%">
538 538   <col style="width:70%">
539 - <th colspan = "2">
540 - <b>Company Information</b>
541 - </th>
542 542   <tr>
543 543   <td align="left" class="style1">Company name:</td>
544 544   <td class="style1">
... ... @@ -547,45 +547,6 @@
547 547   </td>
548 548   </tr>
549 549   <tr>
550 - <td align="left" class="style1">Registered Business Address - House Number, Street:</td>
551 - <td class="style1">
552 - <input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyAddress}" size="100">
553 - ${xcontext.strCompanyAddress}
554 - </td>
555 - </tr>
556 - <tr>
557 - <td align="left" class="style1">Registered Business Address - City:</td>
558 - <td class="style1">
559 - <input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyCity}" size="100">
560 - ${xcontext.strCompanyCity}
561 - </td>
562 - </tr>
563 - <tr>
564 - <td align="left" class="style1">Registered Business Address - Postal Code:</td>
565 - <td class="style1">
566 - <input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
567 - ${xcontext.strCompanyPostcode}
568 - </td>
569 - </tr>
570 - <tr>
571 - <td align="left" class="style1">Registered Business Address - Province or State:</td>
572 - <td class="style1">
573 - <input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
574 - ${xcontext.strCompanyProvince}
575 - </td>
576 - </tr>
577 - <tr>
578 - <td align="left" class="style1">Registered Business Address - Country:</td>
579 - <td class="style1">
580 - <input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
581 - ${xcontext.strCompanyCountry}
582 - </td>
583 - </tr>
584 - <th colspan = "2">
585 - <b>Your Contact Information</b>
586 - </th>
587 -
588 - <tr>
589 589   <td align="hidden" class="style1">Title:</td>
590 590   <td class="style1">
591 591   <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
... ... @@ -666,13 +666,6 @@
666 666  <p>After you click the below <b>Register</b> button, you should receive an automatically generated e-mail to the primary e-mail address you provide in the form above, containing a verification link. You must verify your e-mail address by clicking this verification link contained in the e-mail within 24 hours, otherwise your data may be deleted and you will have to restart the registration process.</p>
667 667  
668 668  <input type="hidden" id="companyname" name="companyname" readonly value="${xcontext.strCompanyName}" size="50">
669 -
670 -<input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyAddress}" size="100">
671 -<input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyCity}" size="100">
672 -<input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
673 -<input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
674 -<input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
675 -
676 676  <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
677 677  <input type="hidden" id="firstname" name="firstname" readonly value="${xcontext.strFirstname}" size="50">
678 678  <input type="hidden" id="lastname" name="lastname" readonly value="${xcontext.strLastname}" size="50">
© 2022 TruCert Assessment Services Inc.
V01-00